﻿@using System.Reflection
@using BLL.Configuration
var Settings = {
    Compress:{
        IsEnabled: @(DependencyResolver.Current.GetService<IGlobalSettings>().Compress.IsEnabledForTemplate.ToString().ToLower())
    },
    Version:"@(Assembly.Load("Web").GetName().Version)",
    CursorPath: "@Url.Content(DependencyResolver.Current.GetService<IGlobalSettings>().Path.Cursor)",
    UploadPath: "@Url.Content(DependencyResolver.Current.GetService<IGlobalSettings>().Path.Upload)",
    UrlPrefix:{
        Admin: "@Url.Content(DependencyResolver.Current.GetService<IGlobalSettings>().Path.AdminUrlPrefix)",
        Client: "@Url.Content(DependencyResolver.Current.GetService<IGlobalSettings>().Path.ClientUrlPrefix)"
    }
}
var SiteMap={
    Admin :{
                                            Authors : {
                                                        Index : "@Url.Action(MVC.Admin.Authors.Index())",
                                                        ListingTemplate : "@Url.Action(MVC.Admin.Authors.ListingTemplate())",
                                                        Listing : "@Url.Action(MVC.Admin.Authors.Listing())",
                                                        Delete : "@Url.Action(MVC.Admin.Authors.Delete())",
                                                        Create : "@Url.Action(MVC.Admin.Authors.Create())",
                                                        CreateTemplate : "@Url.Action(MVC.Admin.Authors.CreateTemplate())",
                                                        Edit : "@Url.Action(MVC.Admin.Authors.Edit())",
                                                        EditTemplate : "@Url.Action(MVC.Admin.Authors.EditTemplate())",
                                                        Validate : "@Url.Action(MVC.Admin.Authors.Validate())",
                                                        BackBoneView : "@Url.Action(MVC.Admin.Authors.BackBoneView())",
                                                        BackBoneJson : "@Url.Action(MVC.Admin.Authors.BackBoneJson())"
                                                },
                             
                                    Books : {
                                                        Index : "@Url.Action(MVC.Admin.Books.Index())",
                                                        ListingTemplate : "@Url.Action(MVC.Admin.Books.ListingTemplate())",
                                                        Listing : "@Url.Action(MVC.Admin.Books.Listing())",
                                                        GetUsers : "@Url.Action(MVC.Admin.Books.GetUsers())",
                                                        Delete : "@Url.Action(MVC.Admin.Books.Delete())",
                                                        Create : "@Url.Action(MVC.Admin.Books.Create())",
                                                        CreateTemplate : "@Url.Action(MVC.Admin.Books.CreateTemplate())",
                                                        Edit : "@Url.Action(MVC.Admin.Books.Edit())",
                                                        EditTemplate : "@Url.Action(MVC.Admin.Books.EditTemplate())",
                                                        Validate : "@Url.Action(MVC.Admin.Books.Validate())",
                                                        BackBoneView : "@Url.Action(MVC.Admin.Books.BackBoneView())",
                                                        BackBoneJson : "@Url.Action(MVC.Admin.Books.BackBoneJson())"
                                                },
                             
                                    Categories : {
                                                        Index : "@Url.Action(MVC.Admin.Categories.Index())",
                                                        ListingTemplate : "@Url.Action(MVC.Admin.Categories.ListingTemplate())",
                                                        Listing : "@Url.Action(MVC.Admin.Categories.Listing())",
                                                        Delete : "@Url.Action(MVC.Admin.Categories.Delete())",
                                                        Create : "@Url.Action(MVC.Admin.Categories.Create())",
                                                        CreateTemplate : "@Url.Action(MVC.Admin.Categories.CreateTemplate())",
                                                        Edit : "@Url.Action(MVC.Admin.Categories.Edit())",
                                                        EditTemplate : "@Url.Action(MVC.Admin.Categories.EditTemplate())",
                                                        Validate : "@Url.Action(MVC.Admin.Categories.Validate())",
                                                        BackBoneView : "@Url.Action(MVC.Admin.Categories.BackBoneView())",
                                                        BackBoneJson : "@Url.Action(MVC.Admin.Categories.BackBoneJson())"
                                                },
                             
                                    Comments : {
                                                        Index : "@Url.Action(MVC.Admin.Comments.Index())",
                                                        ListingTemplate : "@Url.Action(MVC.Admin.Comments.ListingTemplate())",
                                                        Listing : "@Url.Action(MVC.Admin.Comments.Listing())",
                                                        Create : "@Url.Action(MVC.Admin.Comments.Create())",
                                                        CreateTemplate : "@Url.Action(MVC.Admin.Comments.CreateTemplate())",
                                                        Edit : "@Url.Action(MVC.Admin.Comments.Edit())",
                                                        EditTemplate : "@Url.Action(MVC.Admin.Comments.EditTemplate())",
                                                        Delete : "@Url.Action(MVC.Admin.Comments.Delete())",
                                                        BackBoneView : "@Url.Action(MVC.Admin.Comments.BackBoneView())",
                                                        BackBoneJson : "@Url.Action(MVC.Admin.Comments.BackBoneJson())"
                                                },
                             
                                    Content : {
                                                        Dashboard : "@Url.Action(MVC.Admin.Content.Dashboard())",
                                                        DashboardTemplate : "@Url.Action(MVC.Admin.Content.DashboardTemplate())",
                                                        BackBoneView : "@Url.Action(MVC.Admin.Content.BackBoneView())",
                                                        BackBoneJson : "@Url.Action(MVC.Admin.Content.BackBoneJson())"
                                                },
                             
                                    Responses : {
                                                        Index : "@Url.Action(MVC.Admin.Responses.Index())",
                                                        ListingTemplate : "@Url.Action(MVC.Admin.Responses.ListingTemplate())",
                                                        Listing : "@Url.Action(MVC.Admin.Responses.Listing())",
                                                        Delete : "@Url.Action(MVC.Admin.Responses.Delete())",
                                                        Create : "@Url.Action(MVC.Admin.Responses.Create())",
                                                        CreateTemplate : "@Url.Action(MVC.Admin.Responses.CreateTemplate())",
                                                        Edit : "@Url.Action(MVC.Admin.Responses.Edit())",
                                                        EditTemplate : "@Url.Action(MVC.Admin.Responses.EditTemplate())",
                                                        BackBoneView : "@Url.Action(MVC.Admin.Responses.BackBoneView())",
                                                        BackBoneJson : "@Url.Action(MVC.Admin.Responses.BackBoneJson())"
                                                },
                             
                                    Security : {
                                                        LogOn : "@Url.Action(MVC.Admin.Security.LogOn())",
                                                        LogOnTemplate : "@Url.Action(MVC.Admin.Security.LogOnTemplate())",
                                                        LogOff : "@Url.Action(MVC.Admin.Security.LogOff())",
                                                        BackBoneView : "@Url.Action(MVC.Admin.Security.BackBoneView())",
                                                        BackBoneJson : "@Url.Action(MVC.Admin.Security.BackBoneJson())"
                                                },
                             
                                    Shared : {
                                                        Empty : "@Url.Action(MVC.Admin.Shared.Empty())",
                                                        GetAuthors : "@Url.Action(MVC.Admin.Shared.GetAuthors())",
                                                        GetAuthorsForBook : "@Url.Action(MVC.Admin.Shared.GetAuthorsForBook())",
                                                        GetUsers : "@Url.Action(MVC.Admin.Shared.GetUsers())",
                                                        GetUserById : "@Url.Action(MVC.Admin.Shared.GetUserById())",
                                                        GetBooks : "@Url.Action(MVC.Admin.Shared.GetBooks())",
                                                        GetBookById : "@Url.Action(MVC.Admin.Shared.GetBookById())",
                                                        GetCategories : "@Url.Action(MVC.Admin.Shared.GetCategories())"
                                                },
                             
                                    Users : {
                                                        Index : "@Url.Action(MVC.Admin.Users.Index())",
                                                        ListingTemplate : "@Url.Action(MVC.Admin.Users.ListingTemplate())",
                                                        Listing : "@Url.Action(MVC.Admin.Users.Listing())",
                                                        Delete : "@Url.Action(MVC.Admin.Users.Delete())",
                                                        Create : "@Url.Action(MVC.Admin.Users.Create())",
                                                        CreateTemplate : "@Url.Action(MVC.Admin.Users.CreateTemplate())",
                                                        Edit : "@Url.Action(MVC.Admin.Users.Edit())",
                                                        EditTemplate : "@Url.Action(MVC.Admin.Users.EditTemplate())",
                                                        Validate : "@Url.Action(MVC.Admin.Users.Validate())",
                                                        BackBoneView : "@Url.Action(MVC.Admin.Users.BackBoneView())",
                                                        BackBoneJson : "@Url.Action(MVC.Admin.Users.BackBoneJson())"
                                                    }
                             
        },
    System :{
                },
 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                        Account : {
                                                                                    LogOn : "@Url.Action(MVC.Account.LogOn())",
                                                                                            LogOnTemplate : "@Url.Action(MVC.Account.LogOnTemplate())",
                                                                                            Register : "@Url.Action(MVC.Account.Register())",
                                                                                            LogOff : "@Url.Action(MVC.Account.LogOff())",
                                                                                            GetEdit : "@Url.Action(MVC.Account.GetEdit())",
                                                                                            Save : "@Url.Action(MVC.Account.Save())",
                                                                                            Edit : "@Url.Action(MVC.Account.Edit())",
                                                                                            EditTemplate : "@Url.Action(MVC.Account.EditTemplate())",
                                                                                            Validate : "@Url.Action(MVC.Account.Validate())",
                                                                                            BackBoneView : "@Url.Action(MVC.Account.BackBoneView())",
                                                                                            BackBoneJson : "@Url.Action(MVC.Account.BackBoneJson())"
                                                                                        },
                                             
                                            Authors : {
                                                                                    ListingTemplate : "@Url.Action(MVC.Authors.ListingTemplate())",
                                                                                            Listing : "@Url.Action(MVC.Authors.Listing())",
                                                                                            ShowTemplate : "@Url.Action(MVC.Authors.ShowTemplate())",
                                                                                            Show : "@Url.Action(MVC.Authors.Show())",
                                                                                            BackBoneView : "@Url.Action(MVC.Authors.BackBoneView())",
                                                                                            BackBoneJson : "@Url.Action(MVC.Authors.BackBoneJson())"
                                                                                        },
                                             
                                            Books : {
                                                                                    IndexTemplate : "@Url.Action(MVC.Books.IndexTemplate())",
                                                                                            Index : "@Url.Action(MVC.Books.Index())",
                                                                                            BackBoneView : "@Url.Action(MVC.Books.BackBoneView())",
                                                                                            BackBoneJson : "@Url.Action(MVC.Books.BackBoneJson())"
                                                                                        },
                                             
                                            Categories : {
                                                                                    IndexTemplate : "@Url.Action(MVC.Categories.IndexTemplate())",
                                                                                            ListingTemplateIconView : "@Url.Action(MVC.Categories.ListingTemplateIconView())",
                                                                                            ListingTemplateListView : "@Url.Action(MVC.Categories.ListingTemplateListView())",
                                                                                            Index : "@Url.Action(MVC.Categories.Index())",
                                                                                            Listing : "@Url.Action(MVC.Categories.Listing())",
                                                                                            Navigation : "@Url.Action(MVC.Categories.Navigation())",
                                                                                            NavigationTemplate : "@Url.Action(MVC.Categories.NavigationTemplate())",
                                                                                            AlphabetTemplate : "@Url.Action(MVC.Categories.AlphabetTemplate())",
                                                                                            BackBoneView : "@Url.Action(MVC.Categories.BackBoneView())",
                                                                                            BackBoneJson : "@Url.Action(MVC.Categories.BackBoneJson())"
                                                                                        },
                                             
                                            Friends : {
                                                                                    FriendsListing : "@Url.Action(MVC.Friends.FriendsListing())",
                                                                                            FriendsListingTemplate : "@Url.Action(MVC.Friends.FriendsListingTemplate())",
                                                                                            FriendsListingEmptyTemplate : "@Url.Action(MVC.Friends.FriendsListingEmptyTemplate())",
                                                                                            DeleteFromFriend : "@Url.Action(MVC.Friends.DeleteFromFriend())",
                                                                                            AddToFriends : "@Url.Action(MVC.Friends.AddToFriends())",
                                                                                            GetFriends : "@Url.Action(MVC.Friends.GetFriends())",
                                                                                            GetFriendsRequest : "@Url.Action(MVC.Friends.GetFriendsRequest())",
                                                                                            FriendsIsAcceptedListing : "@Url.Action(MVC.Friends.FriendsIsAcceptedListing())",
                                                                                            FriendsIsAcceptedListingTemplate : "@Url.Action(MVC.Friends.FriendsIsAcceptedListingTemplate())",
                                                                                            FriendsIsAcceptedListingEmptyTemplate : "@Url.Action(MVC.Friends.FriendsIsAcceptedListingEmptyTemplate())",
                                                                                            SocialFriendsTemplate : "@Url.Action(MVC.Friends.SocialFriendsTemplate())",
                                                                                            SocialFriendsRequestTemplate : "@Url.Action(MVC.Friends.SocialFriendsRequestTemplate())",
                                                                                            SearchFriend : "@Url.Action(MVC.Friends.SearchFriend())",
                                                                                            BackBoneView : "@Url.Action(MVC.Friends.BackBoneView())",
                                                                                            BackBoneJson : "@Url.Action(MVC.Friends.BackBoneJson())"
                                                                                        },
                                             
                                            Home : {
                                                                                    Index : "@Url.Action(MVC.Home.Index())",
                                                                                            IndexTemplate : "@Url.Action(MVC.Home.IndexTemplate())",
                                                                                            IndexData : "@Url.Action(MVC.Home.IndexData())",
                                                                                            BackBoneView : "@Url.Action(MVC.Home.BackBoneView())",
                                                                                            BackBoneJson : "@Url.Action(MVC.Home.BackBoneJson())"
                                                                                        },
                                             
                                            Messages : {
                                                                                    UserListing : "@Url.Action(MVC.Messages.UserListing())",
                                                                                            UserListingTemplate : "@Url.Action(MVC.Messages.UserListingTemplate())",
                                                                                            MessageListing : "@Url.Action(MVC.Messages.MessageListing())",
                                                                                            MessageListingTemplate : "@Url.Action(MVC.Messages.MessageListingTemplate())",
                                                                                            MessageListingEmptyTemplate : "@Url.Action(MVC.Messages.MessageListingEmptyTemplate())",
                                                                                            UserListingEmptyTemplate : "@Url.Action(MVC.Messages.UserListingEmptyTemplate())",
                                                                                            AddMessage : "@Url.Action(MVC.Messages.AddMessage())",
                                                                                            Save : "@Url.Action(MVC.Messages.Save())",
                                                                                            Show : "@Url.Action(MVC.Messages.Show())",
                                                                                            MessageTemplate : "@Url.Action(MVC.Messages.MessageTemplate())",
                                                                                            SendMessageTemplate : "@Url.Action(MVC.Messages.SendMessageTemplate())",
                                                                                            BackBoneView : "@Url.Action(MVC.Messages.BackBoneView())",
                                                                                            BackBoneJson : "@Url.Action(MVC.Messages.BackBoneJson())"
                                                                                        },
                                             
                                            Profile : {
                                                                                    Show : "@Url.Action(MVC.Profile.Show())",
                                                                                            SocialShow : "@Url.Action(MVC.Profile.SocialShow())",
                                                                                            ProfileTemplate : "@Url.Action(MVC.Profile.ProfileTemplate())",
                                                                                            RatedBooks : "@Url.Action(MVC.Profile.RatedBooks())",
                                                                                            RatedBooksTemplate : "@Url.Action(MVC.Profile.RatedBooksTemplate())",
                                                                                            ListingIconViewTemplate : "@Url.Action(MVC.Profile.ListingIconViewTemplate())",
                                                                                            ListingListViewTemplate : "@Url.Action(MVC.Profile.ListingListViewTemplate())",
                                                                                            SocialProfileTemplate : "@Url.Action(MVC.Profile.SocialProfileTemplate())",
                                                                                            BackBoneView : "@Url.Action(MVC.Profile.BackBoneView())",
                                                                                            BackBoneJson : "@Url.Action(MVC.Profile.BackBoneJson())"
                                                                                        },
                                             
                                            Rating : {
                                                                                    RatingTemplate : "@Url.Action(MVC.Rating.RatingTemplate())",
                                                                                            Rate : "@Url.Action(MVC.Rating.Rate())",
                                                                                            BackBoneView : "@Url.Action(MVC.Rating.BackBoneView())",
                                                                                            BackBoneJson : "@Url.Action(MVC.Rating.BackBoneJson())"
                                                                                        },
                                             
                                            Responses : {
                                                                                    Save : "@Url.Action(MVC.Responses.Save())",
                                                                                            Show : "@Url.Action(MVC.Responses.Show())",
                                                                                            Template : "@Url.Action(MVC.Responses.Template())",
                                                                                            BackBoneView : "@Url.Action(MVC.Responses.BackBoneView())",
                                                                                            BackBoneJson : "@Url.Action(MVC.Responses.BackBoneJson())"
                                                                                        },
                                             
                                            Shared : {
                                                                                    SiteMap : "@Url.Action(MVC.Shared.SiteMap())",
                                                                                            UploadImage : "@Url.Action(MVC.Shared.UploadImage())",
                                                                                            FileUpload : "@Url.Action(MVC.Shared.FileUpload())",
                                                                                            Compress : "@Url.Action(MVC.Shared.Compress())"
                                                                                            }
                                             
                         
                         
                         
                         
                         
                         
                         
                         
                         
            }

